#include "Led.h"

void Led_Disp(uchar addr,enable){
	static uchar temp=0x00;
	static uchar temp_old=0xff;
	
	if(enable)
		temp|=0x01<<addr;
	else
		temp&=~(0x01<<addr);
	
	if(temp!=temp_old){
		P1=~temp;
		temp_old=temp;
	
	}


}